<li>
    <h2><? __('Tags'); ?></h2>
    <?
    $sidebox_tags = $this->requestAction('/tags/sidebox');
    if(!empty($sidebox_tags)) { ?>
    <div id="tags_channels">
            <?
            $countArticles = 0;
            foreach ($sidebox_tags as $tag):
                $countArticles += count($tag['Article']);
            endforeach; ?>
            <? foreach ($sidebox_tags as $tag): ?>
                <span style="font-size: <? (($countArticles*count($tag['Article']))>0) ? printf(intval(100 + 100*count($tag['Article'])/($countArticles))) : printf("100"); ?>%"><? echo $html -> link($tag['Tag']['name'],'/tags/view/'.$tag['Tag']['seo_link']); ?></span>
            <? endforeach; ?>
    </div>
    <? } else { __('No tags'); }?>
</li>